[NTG-context] Re: preventing column break after section title

2024-04-18 Thread Peter Münster
On Thu, Apr 18 2024, Peter Münster wrote: > How could I prevent a column break after the second section title please? Ok, found it: \setupitemize[each][autointro] -- Peter ___ If your quest

[NTG-context] preventing column break after section title

2024-04-18 Thread Peter Münster
Hi, How could I prevent a column break after the second section title please? Minimal example: \starttext \startcolumns[n=2] \section{title 1} \dorecurse{22}{bla\par} \section{title 2} % Here starts a new column. \startitemize \dorecurse{15}{\item bla} \stopitemize \stopcolumns

Re: [NTG-context] error in column sets

2023-06-20 Thread Henning Hraban Ramm via ntg-context
low and overwrite their last line. ... Also I seem to remember that column sets would enforce grid mode, but they clearly don’t. If you enable \setuplayout[grid=yes], lines get placed correctly. Also floats work well (here and top). But some columnsetspans still disappear, and footnotes get

[NTG-context] error in column sets

2023-06-19 Thread Henning Hraban Ramm via ntg-context
the same as in the manual) shows that some column set spans don’t appear: \showgrid\showframe \definecolumnset[Beispiel][n=3] \definecolumnsetspan[Zwei][n=2,color=blue] \definecolumnsetspan[Drei][n=3,color=red] \starttext \startcolumnset[Beispiel] \startcolumnsetspan[Drei]% this works {\bfd

[NTG-context] Formula has excess vertical spacing when in two column itemize

2022-10-21 Thread Gavin via ntg-context
= -3 \NR \stopmathalignment\stopformula \item\hspace[big] $\frac{d}{dp}\left( p^3 - 2p \right)$ \stopitemize \stoptext I’m also attaching a file with the above issue followed by the correct spacing in one-column for comparison. I’m using LMTX (today’s upload, ver: 2022.10.21 21:13 LMTX fmt

Re: [NTG-context] [Bug] Two-column text: Larger top spacing in inline images

2022-06-27 Thread Max Chernoff via ntg-context
Not a bug, although it may be unexpected. It's a grid snapping thing. Try: \def\example{% Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum. Lorem ipsum.

[NTG-context] [Bug] Two-column text: Larger top spacing in inline images

2022-06-26 Thread Marcin Ciura via ntg-context
Dear Hans and ConTeXt developers, When you compile the following code with ConTeXt ver: 2021.10.28 10:19, you will see that: * in 1-column text the top spacing of the circle is normal, * in 2-column text, the top spacing of the circle is too large. Here is the link to the output PDF: https

Re: [NTG-context] Pull quote between two column - trial

2022-05-29 Thread Garulfo via ntg-context
to use pull quotes, I need to use the dimensions of the different elements to be typeset, before typesetting, in order to adapt the shapes of the flow accordingly. So here is just a basic code to 1/ get the dimensions of an item A that will be typeset, before it is actually typeset 2/ use

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread jbf via ntg-context
as to the possibility of including such pull quotes in multi-column presentations, and I have to tell them that to do so I need to use another program where that is more easily achieved. So, I just wanted you to know that someone out there appreciates your efforts with this, one of many I am sure

Re: [NTG-context] Pull quote between two column - trial

2022-05-28 Thread Garulfo via ntg-context
\startuseMPgraphic{mytest1} % column on the left of the pull quote lmt_parshape [path = pleft ] ; fill pleft withcolor \MPcolor{transparentred} ; \stopuseMPgraphic \startuseMPgraphic{mytest2} % column on the right of the pull quote lmt_parshape [path = pright] ; fill pright withcolor \MPcolor

Re: [NTG-context] Problems with column sets?

2022-05-25 Thread Ben Moon via ntg-context
I've had a similar issue since December (posted here: https://www.mail-archive.com/ntg-context@ntg.nl/msg101228.html) and trying the examples from the columnsets manual today and the version that worked for Hraban I get the same error (ConTeXt version 2022.05.02, macOS 12.4). Ben On Tue, 24

Re: [NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Sigh. I should have mentioned that that I reinstalled LMTX from scratch on both machines, and that my mac is running macOS Monterey 12.3.1. On Tue, May 24, 2022 at 3:40 PM T. Kurt Bond wrote: > Huh. I tried it on a Linux box, and that worked. But on my main machine, > a Intel 64 bit mac, I

Re: [NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Huh. I tried it on a Linux box, and that worked. But on my main machine, a Intel 64 bit mac, I get the original result. Oh, I changed to use this input: \definecolumnset[TwoColumns][n=2] \startcolumnset [TwoColumns] \input knuth \stopcolumnset On Tue, May 24, 2022 at 3:09 PM Henning Hraban

Re: [NTG-context] Problems with column sets?

2022-05-24 Thread Henning Hraban Ramm via ntg-context
Am 24.05.22 um 20:43 schrieb T. Kurt Bond via ntg-context: Given the following file that uses definecolumnset and startcolumnset/stopcolumnset (largely from the wiki ) for input:

[NTG-context] Problems with column sets?

2022-05-24 Thread T. Kurt Bond via ntg-context
Given the following file that uses definecolumnset and startcolumnset/stopcolumnset (largely from the wiki ) for input: \setuppapersize[letter]

[NTG-context] Pull quote between two column - trial

2022-05-21 Thread Garulfo via ntg-context
Hi all, hope you are all doing well. I am still trying to display pull quote between two columns. lmt_parshape is really helpfull. I need to add a 1pt gap to make the left column behave correctly, but the right column remains shifted one line below the intended one. Question1: any clue

[NTG-context] \placenotes ends up in wrong place when mixing one- and two- column layouts.

2022-05-10 Thread Zhichu Chen via ntg-context
Thanks Hans, works perfectly. Sorry for the late reply. Still working on the template and got another one. Again, sorry. The journal is in two-column form and the title, authors, and addresses are spanned to the full width. Very common. But the title may acknowledge to some fund(s

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2022-01-03 Thread Youssef Cherem via ntg-context
Hi again, As a follow-up, I just found some weird behavior when typesetting local/text notes using columns. The code below describes the issue. (As the notes are counted by page I really didn't need to use localnotes, so the problem of footnotes disappearing is solved.)

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 8:08 AM, Ajith R via ntg-context wrote: Thanks for this. But, I changed to natural tables as suggested by Kausika and that solved my problems. if it's only text, \starttabulate works ok too (and often better) Hans -

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:12:14 +0100 Hans Hagen via ntg-context wrote: > On 12/31/2021 1:55 PM, Ajith R via ntg-context wrote: > > Hi, > > I am trying to prepare a moderate sized document in Malayalam using > > Context. Overall I have been successful. However, there are a few > > rough edges for

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Ajith R via ntg-context
On Fri, 31 Dec 2021 20:49:30 +0530 kauśika wrote: > If the height varies due to the formation of conjuncts, I > think you are better off using "(natural) tables" : > https://wiki.contextgarden.net/TABLE > In particular, setting align=lohi for the two columns concerned > should work. Again, your

Re: [NTG-context] aligning Malayalam horizontally across column

2022-01-01 Thread Hans Hagen via ntg-context
On 12/31/2021 1:55 PM, Ajith R via ntg-context wrote: Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the second problem I face. I have some 300 group of short

Re: [NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread kauśika via ntg-context
raphs[mypar][3][width=…] \setupparagraphs[mypar][4][width=…] \setupparagraphs[mypar][5][width=…] Now, you can do \startmypar this is the first column \mypar and here is the second column \mypar the third column is here \mypar and the fourth column is here \mypar and the last (fifth) column \stop

[NTG-context] aligning Malayalam horizontally across column

2021-12-31 Thread Ajith R via ntg-context
Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the second problem I face. I have some 300 group of short sentences placed in five columns using \startcolumns[n=5]

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
Marco Thanks a lot. It works. Such a solution had briefly crossed my mind but I had left it aside, hoping there was some feature I had missed. Em qua., 29 de dez. de 2021 10:40, Marco Patzer via ntg-context < ntg-context@ntg.nl> escreveu: > On Wed, 29 Dec 2021 08:29:34 -0300 > Youssef Cherem

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Marco Patzer via ntg-context
On Wed, 29 Dec 2021 08:29:34 -0300 Youssef Cherem via ntg-context wrote: > I've tried to implement some sort of affiliation description with > local notes. I'd like them to be either in a single paragraph or in > columns (e.g., 3), but the options `serried` or `n=3` don't seem to > work for

[NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
I've tried to implement some sort of affiliation description with local notes. I'd like them to be either in a single paragraph or in columns (e.g., 3), but the options `serried` or `n=3` don't seem to work for text notes (they do work for notes at the bottom). Any help would be much appreciated.

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-15 Thread Joey McCollum via ntg-context
s. For my > > purposes, the section break symbol should never occur at the top of a > page > > or column, and it is more desirable to have a page or column end with the > > section break symbol than to have a single orphaned line follow the > symbol > > at the en

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Aditya Mahajan via ntg-context
(in the example > below, "X") should be set in the middle of these two lines. For my > purposes, the section break symbol should never occur at the top of a page > or column, and it is more desirable to have a page or column end with the > section break symbol than to have a s

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
es. For my purposes, the section break symbol should never occur at the top of a page or column, and it is more desirable to have a page or column end with the section break symbol than to have a single orphaned line follow the symbol at the end of the page or column. Based on these constraints, I thought

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
.2021 um 12:42 schrieb Michael Guravage : > > > > No, I'm afraid not. I have been combining the various table and column > environments, all without success - yet. > > > > Michael > > > > > > > > On Thu, Jul 22, 2021 at 12:01 PM Henning Hraban Ramm

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
columnsets need \setuplayout[grid=yes] – did you check that? HR > Am 22.07.2021 um 12:42 schrieb Michael Guravage : > > No, I'm afraid not. I have been combining the various table and column > environments, all without success - yet. > > Michael > > > > On

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
No, I'm afraid not. I have been combining the various table and column environments, all without success - yet. Michael On Thu, Jul 22, 2021 at 12:01 PM Henning Hraban Ramm wrote: > Hi Michael, > > you could try columnsets and use a columnsetspan for the text above the > columns.

Re: [NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Henning Hraban Ramm
nment; which > works as advertised. However, if I place any text before the column > environment, the columns break. More clearly stated, only one column appears > on the first table page; whereas two columns resume on subsequent pages. I > have attached a mwe where you can us

[NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
I have created a table and placed it inside a columns environment; which works as advertised. However, if I place any text before the column environment, the columns break. More clearly stated, only one column appears on the first table page; whereas two columns resume on subsequent pages. I have

[NTG-context] Expanding a table into the second column

2021-05-22 Thread Jeroen
In a document with two columns, is there a method to expand a table partially into the second column in case there are many tablecolumns to show ___ If your question is of interest to others as well, please add

[NTG-context] Expanding a figure into the second column

2021-05-16 Thread Jeroen
I have the following MWE whereby the figure nicely fits the first column. If I now have a picture with more details and want to expand it partially into the second column, it will not work with width=1.5\textwidth , is there a simple way to achieve this? \starttext \startcolumns[n=2] \input

Re: [NTG-context] specify column-width, with option=stretch

2020-11-05 Thread Peter Münster
On Wed, Nov 04 2020, Peter Münster wrote: > I would like to specify the column-width of the first column to 5mm: > > \starttext > [...] > \stoptext Sorry, that wasn't really a minimal example. Here a better file, to show what I'm looking for: \setupTABLE[textwidth=10cm,

[NTG-context] specify column-width, with option=stretch

2020-11-04 Thread Peter Münster
Hi, I would like to specify the column-width of the first column to 5mm: --8<---cut here---start->8--- \starttext \setupTABLE[textwidth=99mm, option=stretch] \setupTABLE[c][each][align={lohi, middle}] \setupTABLE[c][1][height=5mm, style=\tfxx] \framed

Re: [NTG-context] Asymmetrical Column layout leads to an extra blank page (Solved!)

2020-10-30 Thread Ramkumar KB
Hello, I managed to resolve the issue - which turns out bcos I had 2 back2back columnset definitions. So instead, I combined them into 1 and the result was ok. *Before (leads to blank page or page with symmetrical columns):* \definecolumnset[2col][n=2, distance=3.5mm, page=no]

[NTG-context] Asymmetrical Column layout leads to an extra blank page

2020-10-29 Thread Ramkumar KB
Hello All, I am new to this community and am really excited about the possibilities with ConTeXt. My question is related to the thread - https://www.mail-archive.com/ntg-context@ntg.nl/msg92767.html (the suggested solution did not work, unfortunately) After trying out various options, I am

Re: [NTG-context] Column not Balancing, Footnote is Missing

2020-09-08 Thread Wolfgang Schuster
Art Chimes schrieb am 08.09.2020 um 00:38: Greetings, list. My first post here. Please be gentle! The command \contextversion reports I am using 2020.09.03 20:03 on Windows 10. The MWE below produces a column and a half of text, not balanced (despite the \setupcolumns [...balance=yes

[NTG-context] Column not Balancing, Footnote is Missing

2020-09-07 Thread Art Chimes
Greetings, list. My first post here. Please be gentle! The command \contextversion reports I am using 2020.09.03 20:03 on Windows 10. The MWE below produces a column and a half of text, not balanced (despite the \setupcolumns [...balance=yes...] command. Also, the footnote *number* appears

Re: [NTG-context] pagecolumns: get the current column

2020-06-26 Thread Hans Hagen
On 6/26/2020 5:39 PM, mf wrote: Hello list, I'm using a 2-columns layout and I'd like to put some information in the margin. I should put that information in the left margin when I'm in the left column, and in the right margin when I'm in the right column, to prevent the extra information

[NTG-context] pagecolumns: get the current column

2020-06-26 Thread mf
Hello list, I'm using a 2-columns layout and I'd like to put some information in the margin. I should put that information in the left margin when I'm in the left column, and in the right margin when I'm in the right column, to prevent the extra information overlapping the main text

Re: [NTG-context] background of \typing fills column

2020-06-01 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 01.06.2020 um 20:22: Hi, I finally wanted to attack CG journal 2019 again and stumble upon this error: If an article contains several \starttyping ... \stoptyping examples with a textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur

[NTG-context] background of \typing fills column

2020-06-01 Thread Henning Hraban Ramm
Hi, I finally wanted to attack CG journal 2019 again and stumble upon this error: If an article contains several \starttyping ... \stoptyping examples with a textbackground, it sometimes fills the whole column (pagecolumns). It doesn’t occur if the "typing" is at top or bottom of

[NTG-context] unwanted vertical spaces after sectionhead in column layout

2020-05-02 Thread Damien Thiriet
Hello list, Looks like lmtx adds extra vertical space after heads. Compare those two MWE: \setuppapersize [S4] \setuphead [subject] [after={}] \starttext \startsubject[title={blabla}] \input knuth \stopsubject \stoptext \setuppapersize [S4] \setuphead [subject] [after={}] \starttext

[NTG-context] balance=yes eats up footnote in one-line column

2020-04-22 Thread Joey McCollum
I noticed some unexpected behavior while putting together a minimal working example for a different issue. In a multi-column layout with column balancing turned on, if the first column contains a single line and that line contains a footnote, then the footnote will not be typeset. A minimal

[NTG-context] column(sets) questions

2020-01-18 Thread Henning Hraban Ramm
Background: I’m typesetting the annual report of my home town’s "friends of the earth" chapter. The corporate design has pages with one, two and three columns (yes, that makes sense). Chapter titles run over the whole page width or sometimes only over two columns on three column pag

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2020-01-07 Thread Hans Hagen
On 1/7/2020 1:26 PM, Oliver von Criegern wrote: Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2] and \startpagecolumns[xyz] etc. instead of \startcolumns etc. seems to do what I want, except that the columns of the last page aren't balanced any more. Anyway, pagecolumns seems to

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2020-01-07 Thread Oliver von Criegern
Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2] and \startpagecolumns[xyz] etc. instead of \startcolumns etc. seems to do what I want, except that the columns of the last page aren't balanced any more. Anyway, pagecolumns seems to be experimental. The manual says "Don't use page

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-23 Thread Wolfgang Schuster
Oliver von Criegern schrieb am 18.12.2019 um 17:39: So there seems to be no solution for this? Not a solution but pagecolumns show the correct marks even with line numbering. Wolfgang ___ If your question is of

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-18 Thread Oliver von Criegern
So there seems to be no solution for this? Am 09.12.19 um 15:18 schrieb Oliver von Criegern: Any suggestions, how to solve this problem? Am 02.12.19 um 20:06 schrieb Oliver von Criegern: Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism

Re: [NTG-context] Line numbering in two column layout conflicts with marking

2019-12-09 Thread Oliver von Criegern
Any suggestions, how to solve this problem? Am 02.12.19 um 20:06 schrieb Oliver von Criegern: Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5

[NTG-context] Line numbering in two column layout conflicts with marking

2019-12-02 Thread Oliver von Criegern
Dear list members, line numbering in a two column layout apparently conflicts with the marking mechanism. Consider the following example: \setupcolumns[n=2] \setuplinenumbering     [     step=5,     method=page,     align=flushright,     ] \definemarking[Test] \setupheadertexts

Re: [NTG-context] Cross references to column numbers

2019-11-16 Thread Hans Hagen
On 11/15/2019 8:22 PM, Pablo Rodriguez wrote: On 11/15/19 3:44 PM, Oliver von Criegern wrote: Could someone please take a look at this? Am 12.11.19 um 13:02 schrieb Oliver von Criegern: [...] As you will see, targets A, B and C are all in the first column, and targets D, E and F are all

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Pablo Rodriguez
On 11/15/19 3:44 PM, Oliver von Criegern wrote: > Could someone please take a look at this? > > Am 12.11.19 um 13:02 schrieb Oliver von Criegern: >> [...] >> As you will see, targets A, B and C are all in the first column, and >> targets D, E and F are all in the second

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
> On 15 Nov 2019, at 16:31, Taco Hoekwater wrote: > > But that outer \numexpr rounds instead of truncates. so anything that > is past halfway of the column is rounded too far up. This fixes it ^ horizo

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Taco Hoekwater
space \relax / \dimexpr \makeupwidth /\nofcolumns \relax +\plusone \relax } But that outer \numexpr rounds instead of truncates. so anything that is past halfway of the column is rounded too far up. This fixes it (but not very elegantly) \unprotect \def\referencecolumnnumber {\nume

Re: [NTG-context] Cross references to column numbers

2019-11-15 Thread Oliver von Criegern
to a column in a two column layout? yes and no: no : there is not something buil tin yes: one can write some hack in a few lines but instead of posting such a hack (which then will a live of its own) i'll add a feature: \pagereference[column:#1] \doifelsereferencefound{column:#1}{\number

Re: [NTG-context] Cross references to column numbers

2019-11-12 Thread Oliver von Criegern
Am 10.09.19 um 13:16 schrieb Hans Hagen: On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one

Re: [NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 01.10.2019 um 14:51: Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note that in the second column there is no such gap. I tried to play

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
] \startcolumnsetspan[wide] %\externalfigure[hacker][width=120mm] % Produces overlapping last two lines in the first column, too \vbox to80mm{} \stopcolumnsetspan \input knuth \stopcolumnset \stoptext The last two lines in the first column overlap (it seems that the last

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Henri Menke
lumnsetspan[wide][n=2] > > \setupexternalfigures[location=default] > > % > > \starttext >\startcolumnset[example] > \startcolumnsetspan[wide] >%\externalfigure[hacker][width=120mm] % Produces overlapping last two > lines in the first column, too >\vbox to8

[NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
last two lines in the first column, too \vbox to80mm{} \stopcolumnsetspan \input knuth \stopcolumnset \stoptext The last two lines in the first column overlap (it seems that the last line is typeset a bit higher than the pre-last line) - how to avoid it? Best regards

Re: [NTG-context] Options for \column (was: Columns with non-equal width; nested columns)

2019-09-25 Thread Henning Hraban Ramm
> Am 2019-09-25 um 22:29 schrieb Procházka Lukáš Ing. : > > NB: I've noticed many changes on wiki > (https://wiki.contextgarden.net/Special:RecentChanges) in last days issued by > you, Hraban, so thank you for maintaining wiki. You’re welcome! I’m working on my ConTeXt book as well as two

[NTG-context] Options for \column (was: Columns with non-equal width; nested columns)

2019-09-25 Thread Procházka Lukáš Ing .
Hello, I extended the "Description" section at https://wiki.contextgarden.net/Command/column#Description by an incomplete list of options. Please try it and report back, i.e. document it in the wiki. Someone has to do it… The only effect I can see is when I use \column (=

[NTG-context] Extracting a column from an array in lua

2019-09-20 Thread Otared Kavian
Hi, Probably this is a silly question… In lua, I have an array named t which is determined in a piece of lua code, having (say) two columns and I want to extract for example the first column of t and call the new array tt. In Matlab, Scilab and friends, this can done by saying tt = t[:,1

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Henning Hraban Ramm
Am 2019-09-10 um 13:16 schrieb Hans Hagen : > > On 9/9/2019 10:05 PM, Henri Menke wrote: >> Bump >> On 9/3/19 4:46 AM, Oliver von Criegern wrote: >>> Dear list members, >>> >>> is there any way to get a cross reference to a

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Oliver von Criegern
Am 10.09.19 um 13:16 schrieb Hans Hagen: On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one

Re: [NTG-context] Cross references to column numbers

2019-09-10 Thread Hans Hagen
On 9/9/2019 10:05 PM, Henri Menke wrote: Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: Dear list members, is there any way to get a cross reference to a column in a two column layout? yes and no: no : there is not something buil tin yes: one can write some hack in a few lines

Re: [NTG-context] Cross references to column numbers

2019-09-09 Thread Henri Menke
Bump On 9/3/19 4:46 AM, Oliver von Criegern wrote: > Dear list members, > > is there any way to get a cross reference to a column in a two column layout? > > At least, I would need to get some value that tells me whether the target is > in the left or in the right colu

Re: [NTG-context] Cross references to column numbers

2019-09-02 Thread Oliver von Criegern
Dear list members, is there any way to get a cross reference to a column in a two column layout? At least, I would need to get some value that tells me whether the target is in the left or in the right column. How to achieve this? This is the more simplified version of the my previous

[NTG-context] line numbering disappears in custom column layout

2019-08-31 Thread Damien Thiriet
to do it. Greetings, Damien Thiriet PS: This is exactly the unanswered question I asked a few days ago on TeX SE https://tex.stackexchange.com/questions/505238/context-line-numbering-disappears-in-custom-column-layout - End forwarded message

[NTG-context] Cross references to column numbers

2019-08-12 Thread Oliver von Criegern
Dear list members, how can I create cross references to column numbers? I have a two column layout with column numbers in the header instead of page numbers (actually, these column numbers are calculated from the page numbers). Now I want to create a cross reference that returns the column

Re: [NTG-context] white space after a float in a column

2019-08-12 Thread Sytse Knypstra
Hi all, In my recent question I had overlooked the possibility of using \startplaceintermezzo ... \stopplaceintermezzo and inserting a \blank before the \stopplaceintermezzo. Sorry for this stupid mistake and the noise. With kind regards, Sytse Knypstra

[NTG-context] white space after a float in a column

2019-08-10 Thread Sytse knyps...@home.nl
Dear list members, I am struggling with floats in a two-column layout. I understand that there are three up-to-date mechanisms for columns: columnsets, pagecolumns and pagegrids. However, in neither setup I succeed in producing some extra vertical whitespace after the float if a caption

Re: [NTG-context] Nested Column Layout

2019-08-06 Thread Oliver von Criegern
regards, Oliver. Am 06.08.19 um 00:41 schrieb Walter Mays: Hello all, I am trying to lay out a page that has a 2/3 column split, and then nest another set of 3 columns inside the larger of the two outer columns. In case that's not clear, I've attached a PNG that shows approximately what I would

[NTG-context] Nested Column Layout

2019-08-06 Thread Walter Mays
Hello all, I am trying to lay out a page that has a 2/3 column split, and then nest another set of 3 columns inside the larger of the two outer columns. In case that's not clear, I've attached a PNG that shows approximately what I would like to achieve. Here's what I've tried

[NTG-context] In a two column layout, activate line numbering for one column only

2019-07-30 Thread Oliver von Criegern
Dear list members, I am trying to recreate a layout for some dictionary with ConTeXt. It is a two column layout with line numbering between the columns, that is, there is only one numbering for both columns. How can I do this with ConTeXt? I would need either an option to activate line

[NTG-context] Column spacing in MathML in mkiv

2019-07-18 Thread Duncan Hothersall
Hi all. If I want to set the space between columns in a MathML , how do I do it? Minimal non-working example below (set the attribute columnspacing to anything you like and it seems to be ignored). Is this a bug or is there a feature I've missed? \usemodule[mathml] \starttext \xmlprocessdata{}{

Re: [NTG-context] Wrong breaks in footnote for column texts

2019-06-20 Thread Wolfgang Schuster
Am Do., 20. Juni 2019 um 17:00 Uhr schrieb Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Hi Hans, > > as mentioned a few times by others long footnote entries have problems > with line breaks. > > In mixed columns you get a single line for each entry and in page > columns the width

[NTG-context] Wrong breaks in footnote for column texts

2019-06-20 Thread Wolfgang Schuster
Hi Hans, as mentioned a few times by others long footnote entries have problems with line breaks. In mixed columns you get a single line for each entry and in page columns the width for the entries is wrong. \starttext \dorecurse{2}{\samplefile{dawkins}\footnote{\samplefile{jojomayer}} }

[NTG-context] mix two-column and single-column footnotes

2019-02-16 Thread Mohammad Hossein Bateni
Hi, Is it possible to mix two-column and single-column footnotes? Here's my use case. I have two types of footnotes: 1) short one- or two-word terms 2) long descriptions and notes On some pages there are a lot of "short" footnotes which take up a lot of space at the bottom of the

Re: [NTG-context] Color a column (xtable, lua)

2019-01-27 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 27.01.19 um 00:59: Hi Henry, Thank you for your proposition. I tested both : the first work  but not the second. Fabrice Remove the empty line between the two arguments of the \defineoverlay command. Wolfgang

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
J" } 20 local letters_2 = { "A", "0", "1", "1", "0", "", "", "", "", "" } 21 context.startxtable({"align={middle,lohi}, width=1.25cm,offset=0.8ex"}) 22 23 context.startxrow() ?

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:26 PM, Henri Menke wrote: > On 1/27/19 12:08 PM, Fabrice Couvreur wrote: >> Hi, >> How to color the first column as I did for the first line ? > > Stolen from Wolfgang's answer on TeX.SX. > https://tex.stackexchange.com/a/464771 > You could also eval

Re: [NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Henri Menke
On 1/27/19 12:08 PM, Fabrice Couvreur wrote: > Hi, > How to color the first column as I did for the first line ? Stolen from Wolfgang's answer on TeX.SX. https://tex.stackexchange.com/a/464771 \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \startuseMPgraphic {tablebackground} fill Over

[NTG-context] Color a column (xtable, lua)

2019-01-26 Thread Fabrice Couvreur
Hi, How to color the first column as I did for the first line ? Thank you Fabrice \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startluacode local letters_1 = { "A", "B", "C", "D", "E", "F", &qu

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-02 Thread David Walther
On Tue, Oct 02, 2018 at 12:28:44AM -0400, Aditya Mahajan wrote: ConTeXt MkIV 2018.09.30 What version are you using? My version is from 2017. Thank you for the confirmation; now I will file a bug report with Debian. David

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, David Walther wrote: I looked at your example. I ran your example, and on my installation, it has the same problem as I described. I have included a PDF file of my original sample file, and also the PDF generated from your example. What version of ConTeXt are you

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread David Walther
For the section headers, I do this, and they look the way I want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR You can also use \bTC[nc=2, align=middle, style=bold] But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-09-30 Thread Aditya Mahajan
headers, I do this, and they look the way I want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR You can also use \bTC[nc=2, align=middle, style=bold] But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn't

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther
want: \bTR\bTC 30. \eTC \bTC[nc=2,align=center,style=] \bf{Foo Bar} \eTC\eTR But then the regular lines have ugly line breaks and suddenly the column size of column 3 is squeezed. This shouldn't be, we have the whole page to work with. So, when I do my section headers this way, the columns

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Henri Menke
On 09/10/2018 10:47 PM, Jan Willem Flamma wrote: > Dear list members, > > Table are constructed row after row like in the code below: > > Building up a table row after row > \par > \bTABLE > \bTR > \bTC Row 1, Column 1 \eTC > \bTC Row 1, Colum

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Taco Hoekwater
the code below: > > Building up a table row after row > \par > \bTABLE >\bTR >\bTC Row 1, Column 1 \eTC >\bTC Row 1, Column 2 \eTC > \eTR >\bTR >\bTC Row 2, Column 1 \eTC >\bTC Row 2, Column 2 \eTC >\eTR > \eTABLE &g

[NTG-context] Construct tables column after column

2018-09-10 Thread Jan Willem Flamma
Dear list members, Table are constructed row after row like in the code below: Building up a table row after row \par \bTABLE \bTR \bTC Row 1, Column 1 \eTC \bTC Row 1, Column 2 \eTC \eTR \bTR \bTC Row 2, Column 1 \eTC \bTC Row 2, Column 2 \eTC

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
dex]%[n=3] \stoptext Hans van der Meer schrieb am 26.08.18 um 17:37: How do I produce an index with more than one column? This produces one column only: \startchapter[title=\mytitle{Register}] \startcolumns[n=2] \placeregister[index] \stopcolumns Nor did \placeregister[index][n=2] or \place

  1   2   3   4   >